<#import "../baseftl/page.ftl" as comm />
<#assign security=JspTaglibs["http://www.springframework.org/security/tags"] /> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>管理区域</title>
</head>

<body>

<table>
<tr>
				<td nowrap="nowrap">序号&nbsp;</td>
				<td nowrap="nowrap">内容&nbsp;</td>
				<td nowrap="nowrap">数量&nbsp;</td>
				<td nowrap="nowrap">操作&nbsp;</td>
		</tr>
		<#if page??>
<#list page.result as list>
    	<tr>
				<td nowrap="nowrap">${page.getFirst()+list_index}&nbsp;</td>
				<td nowrap="nowrap"><a href="${base}/article/articleitem/list/${list[0]?default("")}.shtml">${list[1]?default("")}</a>&nbsp;</td>
				<td nowrap="nowrap">${list[2]?default("")}&nbsp;</td>
				<td nowrap="nowrap">
				<@security.authorize ifAnyGranted="RES_ARTICLE_SAVE">
				<a href="${base}/article/article/input/${list[0]?default("")}.shtml">修改</a>
				</@security.authorize>&nbsp;&nbsp;
				</td>
		</tr>
    </#list>
    </#if>
    </table>
    <@comm.pages/>&nbsp;&nbsp;&nbsp;&nbsp;
    <@security.authorize ifAnyGranted="RES_ARTICLE_INPUT">
   <a href="${base}/article/article/input.shtml"> 添加文章类型</a></@security.authorize>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   <@security.authorize ifAnyGranted="RES_ARTICLEITEM_INPUT">
   <a href="${base}/article/articleitem/input.shtml"> 添加文章</a></@security.authorize>
  <@s.actionmessage />

</body>
</html>
